package cuckoo.ioc.factory;

import java.util.Set;

public interface BeanFactory {
	public void registerIndependent(String name, Object obj);

	public void register(Class<?>... clazz);

	public <T> T getBean(Class<T> clazz);

	public Object getBean(String name);

	public Set<String> getAllBean();

	public <T> T getBean(String name, Class<T> clazz);

	public void destory();
}
